<?php
namespace app\index\model;

use think\Model;

class Children extends Model 
{
    public function comments()
    {
        return $this->hasMany('Index','project_class_id');
    }
}